<!doctype html>
<html lang="zh-CN">
<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <meta name="referrer" content="no-referrer-when-downgrade">
    

    <title>《Flutter学习资料整理3》 | 早起的年轻人</title>
    <meta property="og:title" content="《Flutter学习资料整理3》 - 早起的年轻人">
    <meta property="og:type" content="article">
        
    <meta property="article:published_time" content='2021-08-01T06:08:48&#43;08:00'>
        
        
    <meta property="article:modified_time" content='2021-08-01T06:08:48&#43;08:00'>
        
    <meta name="Keywords" content="Flutter，golang,go语言,go语言笔记,飞雪无情,java,android,博客,项目管理,python,软件架构,公众号,小程序">
    <meta name="description" content="《Flutter学习资料整理3》">
        
    <meta name="author" content="luckly">
    <meta property="og:url" content="https://luckly.work/post/Flutter%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99%E6%95%B4%E7%90%863/">
    <link rel="shortcut icon" href='/favicon.ico'  type="image/x-icon">

    <link rel="stylesheet" href='/css/normalize.css'>
    <link rel="stylesheet" href='/css/style.css'>
    <script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

    
    
    
        <link href="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" rel="stylesheet">
    
    
    
    
        <link rel="stylesheet" href='/css/douban.css'>
    
        <link rel="stylesheet" href='/css/other.css'>
    
</head>

<link rel="stylesheet"
      href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/highlight.min.js"></script>
<body>
    <header id="header" class="clearfix">
    <div class="container">
        <div class="col-group">
            <div class="site-name ">
                
                    <a id="logo" href="https://luckly.work/">
                        早起的年轻人
                    </a>
                
                <p class="description">专注于Flutter、Android、Java、Go语言(golang)、移动互联网、项目管理、软件架构</p>
            </div>
            <div>
                <nav id="nav-menu" class="clearfix">
                    <a class="current" href="https://luckly.work/">首页</a>
                    
                    <a  href="https://luckly.work/categories/" title="分类">分类</a>
                    
                    <a  href="https://luckly.work/tags/" title="标签">标签</a>
                    
                    <a  href="https://luckly.work/about/" title="关于我">关于我</a>
                    
                    <a  href="https://github.com/ITmxs/" title="github">github</a>
                    
                </nav>
            </div>
        </div>
    </div>
</header>

    <div id="body">
        <div class="container">
            <div class="col-group">

                <div class="col-8" id="main">
                    
<div class="res-cons">
    <style type="text/css">
    .post-toc {
        position: fixed;
        width: 200px;
        margin-left: -210px;
        padding: 5px 10px;
        font-family: Athelas, STHeiti, Microsoft Yahei, serif;
        font-size: 12px;
        border: 1px solid rgba(0, 0, 0, .07);
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.98);
        background-clip: padding-box;
        -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
        box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
        word-wrap: break-word;
        white-space: nowrap;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        z-index: 999;
        cursor: pointer;
        max-height: 70%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .post-toc .post-toc-title {
        width: 100%;
        margin: 0 auto;
        font-size: 20px;
        font-weight: 400;
        text-transform: uppercase;
        text-align: center;
    }

    .post-toc .post-toc-content {
        font-size: 15px;
    }

    .post-toc .post-toc-content>nav>ul {
        margin: 10px 0;
    }

    .post-toc .post-toc-content ul {
        padding-left: 20px;
        list-style: square;
        margin: 0.5em;
        line-height: 1.8em;
    }

    .post-toc .post-toc-content ul ul {
        padding-left: 15px;
        display: none;
    }

    @media print,
    screen and (max-width:1057px) {
        .post-toc {
            display: none;
        }
    }
</style>
<div class="post-toc" style="position: absolute; top: 188px;">
    <h2 class="post-toc-title">文章目录</h2>
    <div class="post-toc-content">
        <nav id="TableOfContents">
  <ul>
    <li><a href="#flutter技术落地使用">Flutter技术落地使用</a>
      <ul>
        <li></li>
      </ul>
    </li>
    <li><a href="#环境配置及日常开发踩坑总结">环境配置及日常开发踩坑总结</a></li>
    <li><a href="#代码风格">代码风格</a>
      <ul>
        <li><a href="#一命名">一、命名</a></li>
        <li><a href="#二顺序">二、顺序</a></li>
        <li><a href="#三-格式化">三、 格式化</a></li>
      </ul>
    </li>
    <li><a href="#项目结构规划及实例说明">项目结构规划及实例说明</a>
      <ul>
        <li><a href="#项目架构">项目架构</a></li>
      </ul>
    </li>
    <li><a href="#插件使用规范">插件使用规范</a>
      <ul>
        <li><a href="#一使用规范">一、使用规范</a></li>
        <li><a href="#二插件汇总">二、插件汇总</a></li>
        <li><a href="#1--provder数据动态管理插件">1.  Provder：数据动态管理插件</a></li>
        <li><a href="#2--dio网络请求插件">2.  dio：网络请求插件</a></li>
        <li><a href="#3--flutter_screenutil屏幕适配">3.  flutter_screenutil：屏幕适配</a></li>
        <li><a href="#4--shared_preferences本地持久化">4.  shared_preferences：本地持久化</a></li>
        <li><a href="#5--mqtt_clientmqtt客户端">5.  mqtt_client：mqtt客户端</a></li>
        <li><a href="#6--sqflite数据库">6.  sqflite：数据库</a></li>
        <li><a href="#7--device_info设备信息">7.  device_info：设备信息</a></li>
        <li><a href="#8--cached_network_image图片缓存">8.  cached_network_image：图片缓存</a></li>
        <li><a href="#9--cached_video_player视频播放">9.  cached_video_player：视频播放</a></li>
        <li><a href="#10--wechat_assets_picker图片视频选择器">10.  wechat_assets_picker：图片视频选择器</a></li>
        <li><a href="#11--path_provider设备路径">11.  path_provider：设备路径</a></li>
        <li><a href="#12--permission_handler权限管理">12.  permission_handler：权限管理</a></li>
        <li><a href="#13--isolate线程管理使用">13.  isolate：线程管理使用</a></li>
        <li><a href="#14--flutter_sound音频录取和播放">14.  flutter_sound：音频录取和播放</a></li>
      </ul>
    </li>
  </ul>
</nav>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        var postToc = $(".post-toc");
        if (postToc.length) {
            var leftPos = $("#main").offset().left;
            if(leftPos<220){
                postToc.css({"width":leftPos-10,"margin-left":(0-leftPos)})
            }

            var t = postToc.offset().top - 20,
                a = {
                    start: {
                        position: "absolute",
                        top: t
                    },
                    process: {
                        position: "fixed",
                        top: 20
                    },
                };
            $(window).scroll(function () {
                var e = $(window).scrollTop();
                e < t ? postToc.css(a.start) : postToc.css(a.process)
            })
        }
    })
</script>
    <article class="post">
        <header>
            <h1 class="post-title">《Flutter学习资料整理3》</h1>
        </header>
        <date class="post-meta meta-date">
            2021年8月1日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/flutter'>flutter</a></span>
            
        </div>
        
        
        <div class="post-meta">
            <span id="busuanzi_container_page_pv">|<span id="busuanzi_value_page_pv"></span><span>
                    阅读</span></span>
        </div>
        
        
        <div class="clear" style="display: none">
            <div class="toc-article">
                <div class="toc-title">文章目录</div>
            </div>
        </div>
        
        <div class="post-content">
            <h2 id="flutter技术落地使用">Flutter技术落地使用</h2>
<p>Flutter是谷歌的移动UI框架，可以快速在iOS和Android上构建高质量的原生用户界面。Flutter可以与现有的代码一起工作。在全世界，Flutter正在被越来越多的开发者和组织使用，并且Flutter是完全<strong>免费</strong>、<strong>开源</strong>的。</p>
<blockquote>
<p>本章节将从学习路线、进阶、及未来学习方向等3个方面拓展性总结Flutter技术在实际业务中需要掌握的基本开发能力。</p>
</blockquote>
<h4 id="一学习路线">一、学习路线</h4>
<p>Flutter作为一门新<strong>开源</strong>的移动UI框架，在设计之初，谷歌的工程师就考虑到了开发者在学习Flutter的成本问题，Dart语言与Flutter的结合，获得泛型、class等强类型语言的特性保证了我们开发的应用安全可控，同时Flutter借鉴了FaceBook成熟开源框架React的单向数据绑定的特性，使我们在开发的过程中可以恰到好处的更新和控制我们的页面。</p>
<p>通过我们的实际开发使用的经验看，Flutter是一门学习起来十分顺滑的成熟技术框架，下面将推荐一下学习路线让你快速的入门Flutter，构建你想要的应用：
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
            <img class="mx-auto" alt="flutter" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png" />
        </a>
    </p>
<h5 id="1--学习dart语言">1.  学习Dart语言：</h5>
<p>官网快速入门：Dart 语言开发文档（dart.cn/guides）</p>
<h5 id="2--学习flutter-ui框架">2.  学习Flutter UI框架：</h5>
<p>掌握Widget，在Flutter中，万物皆Widget！Widget作为我们搭建应用的组件，需要至少掌握我们常见的Widget</p>
<table>
<thead>
<tr>
<th style="text-align:center">Widget</th>
<th style="text-align:center">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">Container</td>
<td style="text-align:center">一个拥有绘制、定位、调整大小的 widget。</td>
</tr>
<tr>
<td style="text-align:center">Row</td>
<td style="text-align:center">在水平方向上排列子widget的列表。</td>
</tr>
<tr>
<td style="text-align:center">Column</td>
<td style="text-align:center">在垂直方向上排列子widget的列表。</td>
</tr>
<tr>
<td style="text-align:center">Image</td>
<td style="text-align:center">一个显示图片的widget</td>
</tr>
<tr>
<td style="text-align:center">Text</td>
<td style="text-align:center">单一格式的文本</td>
</tr>
<tr>
<td style="text-align:center">Icon</td>
<td style="text-align:center">A Material Design icon.</td>
</tr>
<tr>
<td style="text-align:center">RaisedButton</td>
<td style="text-align:center">Material Design中的button， 一个凸起的材质矩形按钮</td>
</tr>
<tr>
<td style="text-align:center">Scaffold</td>
<td style="text-align:center">Material Design布局结构的基本实现。此类提供了用于显示drawer、snackbar和底部sheet的API。</td>
</tr>
<tr>
<td style="text-align:center">Appbar</td>
<td style="text-align:center">一个Material Design应用程序栏，由工具栏和其他可能的widget（如TabBar和FlexibleSpaceBar）组成。</td>
</tr>
<tr>
<td style="text-align:center">ListView</td>
<td style="text-align:center">列表显示</td>
</tr>
<tr>
<td style="text-align:center">Icon</td>
<td style="text-align:center">图标</td>
</tr>
<tr>
<td style="text-align:center">Switch</td>
<td style="text-align:center">单选开关</td>
</tr>
<tr>
<td style="text-align:center">Checkbox</td>
<td style="text-align:center">复选框</td>
</tr>
<tr>
<td style="text-align:center">TextField</td>
<td style="text-align:center">输入框</td>
</tr>
<tr>
<td style="text-align:center">Form</td>
<td style="text-align:center">表单组件</td>
</tr>
<tr>
<td style="text-align:center">Flex、Expanded</td>
<td style="text-align:center">弹性布局</td>
</tr>
<tr>
<td style="text-align:center">Wrap</td>
<td style="text-align:center">流式布局</td>
</tr>
<tr>
<td style="text-align:center">Stack、Positioned</td>
<td style="text-align:center">层叠布局，用于页面定位，层叠摆放</td>
</tr>
<tr>
<td style="text-align:center">Align</td>
<td style="text-align:center">对齐与相对定位</td>
</tr>
<tr>
<td style="text-align:center">GestureDetector</td>
<td style="text-align:center">手势识别</td>
</tr>
</tbody>
</table>
<blockquote>
<p>Widget拓展 进阶学习：https://flutter.cn/docs/development/ui/widgets</p>
</blockquote>
<h4 id="二进阶学习">二、进阶学习：</h4>
<ul>
<li>插件使用：pub.flutter-io.cn/</li>
<li>原生调用：文件操作、拍照、语音、视频播放</li>
</ul>
<h4 id="四拓展学习">四、拓展学习：</h4>
<ul>
<li>
<h5 id="原生学习androidios开发">原生学习：Android、ios开发</h5>
<blockquote>
<p>即使Flutter已经完成了大部分移动开发需要的Widget，但是还是有一些特殊的用户需求需要我们去实现，既然是跨平台开发，那就离不开原生开发！是的，如果需要深入移动领域，要学习原生！</p>
</blockquote>
</li>
<li>
<h5 id="深入学习flutter运行机制">深入学习Flutter运行机制</h5>
<blockquote>
<p>学习Flutter运行机制可以帮助我们更好的解决实际开发中的一些问题，譬如：<strong>渲染</strong>、<strong>动画机制</strong>、<strong>数据绑定</strong>、<strong>流</strong>数据处理。<strong>学习方法</strong>：读Flutter源码，大量<strong>实践</strong> 、<strong>思考</strong>及<strong>总结</strong>。</p>
</blockquote>
</li>
</ul>
<h2 id="环境配置及日常开发踩坑总结">环境配置及日常开发踩坑总结</h2>
<blockquote>
<p>1.17版本无法连接</p>
</blockquote>
<blockquote>
<p>Flutter 添加新插件后报The number of method references in a .dex file cannot exceed 64K.</p>
<p>地址：https://juejin.im/post/6844904048034856967</p>
</blockquote>
<blockquote>
<p>弹窗键盘弹起影响布局解决方案</p>
<p>地址：https://juejin.im/post/6844904048898867208)</p>
</blockquote>
<blockquote>
<p>xcode 启动一直在转无法启动 一直卡着菊花在转 解决方案</p>
<p>地址：https://juejin.im/post/6844904056398282766</p>
</blockquote>
<blockquote>
<p>listview显示不全的解决办法</p>
<p>地址：https://juejin.im/post/6844904056725438477</p>
</blockquote>
<blockquote>
<p>run ios 真机报错一直卡在installing and launching问题诊断及解决办法</p>
<p>地址：https://juejin.im/post/6844904080146432008</p>
</blockquote>
<blockquote>
<p>软键盘收起</p>
<p>地址：https://juejin.im/post/6844904118012608520</p>
</blockquote>
<blockquote>
<p>dio或http请求阻塞ui，导致页面UI卡顿问题及其解决办法</p>
<p>地址：https://juejin.im/post/6844904158735106061</p>
</blockquote>
<blockquote>
<p>FlutterEasyLoading导致No MediaQuery widget found.</p>
<p>地址：https://juejin.im/post/6845166891690885133</p>
</blockquote>
<blockquote>
<p>Android studio remove JVM property “https.proxyHost”?</p>
<p>地址：https://juejin.im/post/6857334907060879368</p>
</blockquote>
<blockquote>
<p>Error connecting to the service protocol: failed to connect</p>
<p>地址：https://juejin.im/post/6857775588762091533</p>
</blockquote>
<h2 id="代码风格">代码风格</h2>
<p>好的代码有一个非常重要的特点就是拥有好的风格。一致的命名、一致的顺序、以及一致的格式让代码看起来是一样的。这非常有利于发挥我们视力系统强大的模式匹配能力。如果我们整个 Dart 生态系统中都使用统一的风格，那么这将让我们彼此之间更容易的互相学习和互相贡献。它使我们所有人都可以更容易地学习并为彼此的代码做出贡献。</p>
<h3 id="一命名">一、命名</h3>
<blockquote>
<p>在 Dart 中标识符有三种类型。</p>
<ul>
<li><code>UpperCamelCase</code> 每个单词的首字母都大写，包含第一个单词。</li>
<li><code>lowerCamelCase</code> 除了第一个字母始终是小写（即使是缩略词），每个单词的首字母都大写。</li>
<li><code>lowercase_with_underscores</code> 只是用小写字母单词，即使是缩略词，并且单词之间使用 <code>_</code> 连接。</li>
</ul>
</blockquote>
<h6 id="要使用-uppercamelcase-风格命名类型">要使用 <code>UpperCamelCase</code> 风格命名类型。</h6>
<blockquote>
<p>每个单词的首字母都大写，包含第一个单词。</p>
<p>Classes（类名）、 enums（枚举类型）、 typedefs（类型定义）、扩展名（）、以及 type parameters（类型参数）应该把每个单词的首字母都大写（包含第一个单词），不使用分隔符。</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-dart" data-lang="dart"><span style="color:#75715e">/// 类名
</span><span style="color:#75715e"></span><span style="color:#66d9ef">class</span> <span style="color:#a6e22e">WodeerProvider</span> {}
<span style="color:#66d9ef">class</span> <span style="color:#a6e22e">Http</span> {}

<span style="color:#75715e">/// typedefs
</span><span style="color:#75715e"></span><span style="color:#66d9ef">typedef</span> Predicate <span style="color:#f92672">=</span> <span style="color:#66d9ef">bool</span> Function(T value);

<span style="color:#75715e">/// extensions
</span><span style="color:#75715e"></span>extension MyFancyList on List { ... }
extension SmartIterable on Iterable { ... }
</code></pre></div><h6 id="要使用-lowercase_with_underscores风格命名类型">要使用 <code>lowercase_with_underscores</code>风格命名类型。</h6>
<blockquote>
<p>小写字母单词，即使是缩略词，并且单词之间使用 <code>_</code> 连接。</p>
<p>命名<code>库</code>，<code>包</code>，<code>文件夹</code>，<code>源文件</code>。</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-dart" data-lang="dart"><span style="color:#75715e">/// 一些文件系统不区分大小写，所以很多项目要求文件名必须是小写字母。使用分隔符这种形式可以保证命名 /// 的可读性。使用下划线作为分隔符可确保名称仍然是有效的Dart标识符。
</span><span style="color:#75715e"></span>
<span style="color:#66d9ef">library</span> peg_parser.source_scanner;

<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;file_system.dart&#39;</span>;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;slider_menu.dart&#39;</span>;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;dart:math&#39;</span> <span style="color:#66d9ef">as</span> math;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;package:angular_components/angular_components&#39;</span>
    <span style="color:#66d9ef">as</span> angular_components;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;package:js/js.dart&#39;</span> <span style="color:#66d9ef">as</span> js;
</code></pre></div><h6 id="要使用lowercamelcase-风格来命名">要使用<code>lowerCamelCase</code> 风格来命名。</h6>
<blockquote>
<p>除了第一个字母始终是小写（即使是缩略词），每个单词的首字母都大写。</p>
<p>类成员、顶级定义、变量、参数以及命名参数等 。</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-dart" data-lang="dart"><span style="color:#66d9ef">var</span> item;
<span style="color:#66d9ef">var</span> pageData;
<span style="color:#66d9ef">const</span> wodeerFile;
HttpRequest httpRequest;

<span style="color:#66d9ef">void</span> getPageData() {
  print(<span style="color:#e6db74">&#39;&#39;</span>);
}
</code></pre></div><h3 id="二顺序">二、顺序</h3>
<blockquote>
<p>为了使文件前面部分保持整洁，我们规定了关键字出现顺序的规则。每个“部分”应该使用空行分割。</p>
</blockquote>
<p>顺序如下：<code>dart:</code> =&gt;<code>package:</code>=&gt;<code>export</code></p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-dart" data-lang="dart"><span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;dart:async&#39;</span>;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;dart:html&#39;</span>;


<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;package:bar/bar.dart&#39;</span>;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;package:foo/foo.dart&#39;</span>;

<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;foo.dart&#39;</span>;
<span style="color:#66d9ef">import</span> <span style="color:#e6db74">&#39;foo/foo.dart&#39;</span>;

<span style="color:#66d9ef">export</span> <span style="color:#e6db74">&#39;src/error.dart&#39;</span>;
</code></pre></div><h3 id="三-格式化">三、 格式化</h3>
<blockquote>
<p>具有一致的空格风格有助于帮助我们能够用编译器相同的方式理解代码。</p>
</blockquote>
<ol>
<li>要使用 <code>dartfmt</code> 格式化你的代码。</li>
</ol>
<blockquote>
<p>在提交代码前，请格式化自己的代码。</p>
<p>在下载dart插件安装后，编辑器支持dart代码格式化。</p>
</blockquote>
<ol>
<li>考虑修改你的代码让格式更友好。</li>
</ol>
<blockquote>
<p>无论你扔给格式化程序什么样代码，它都会尽力去处理，但是格式化程序不会创造奇迹。如果代码里有特别长的标识符，深层嵌套的表达式，混合的不同类型运算符等。格式化输出的代码可能任然很难阅读。</p>
<p>当有这样的情况发生时，那么就需要重新组织或简化你的代码。考虑缩短局部变量名或者将表达式抽取为一个新的局部变量。换句话说，你应该做一些手动格式化并增加代码的可读性的修改。在工作中应该把 dartfmt 看做一个合作伙伴，在代码的编写和迭代过程中互相协作输出优质的代码。</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-dart" data-lang="dart">    <span style="color:#75715e">/// 抽出相近业务逻辑的模块独立出来
</span><span style="color:#75715e"></span>    <span style="color:#75715e">/// 使用_下划线私有化组件，保证全局代码干净
</span><span style="color:#75715e"></span>
    <span style="color:#66d9ef">class</span> <span style="color:#a6e22e">Page</span> <span style="color:#66d9ef">extends</span> StatelessWidget {
  <span style="color:#960050;background-color:#1e0010">@</span>override
  Widget build(BuildContext context) {
    <span style="color:#66d9ef">return</span> Scaffold(
      appBar: AppBar(
        title: Text(<span style="color:#e6db74">&#39;我是页面&#39;</span>),
      ),
            body: ListView(
        children: [
          _title(),
          _caseNo(),
          _name(),
          _unit(),
          _content(),
        ],
      ),    
    );
  }
    }

    Widget _title() {
  <span style="color:#66d9ef">return</span> Container();
    }

    Widget _caseNo() {
  <span style="color:#66d9ef">return</span> Container();
    }

    Widget _name() {
  <span style="color:#66d9ef">return</span> Container();
    }

    Widget _unit() {
  <span style="color:#66d9ef">return</span> Container();
    }

    Widget _content() {
  <span style="color:#66d9ef">return</span> Container();
    }
    
</code></pre></div><ol>
<li>避免单行超过 80 个字符。</li>
<li>对所有流控制结构使用花括号。</li>
</ol>
<blockquote>
<p>这样可以避免 dangling else（else悬挂）的问题。</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-dart" data-lang="dart">    <span style="color:#66d9ef">if</span> (isShow) {
  print(<span style="color:#e6db74">&#39;Hello Wodeer !&#39;</span>);
    } <span style="color:#66d9ef">else</span> {
  print(<span style="color:#e6db74">&#39;==.==!&#39;</span>);
    }

    <span style="color:#75715e">/// 例外：一个没有 else 的 if 语句，并且这个 if 语句以及它的执行体适合在一行中实现。在这种情况下，可以不用括号：
</span><span style="color:#75715e"></span>    <span style="color:#66d9ef">if</span> (arg <span style="color:#f92672">==</span> <span style="color:#66d9ef">null</span>) <span style="color:#66d9ef">return</span> defaultValue;

    <span style="color:#75715e">/// 但是，如果执行体包含下一行，请使用大括号：
</span><span style="color:#75715e"></span>    <span style="color:#66d9ef">if</span> (overflowChars <span style="color:#f92672">!=</span> other.overflowChars) {
  <span style="color:#66d9ef">return</span> overflowChars <span style="color:#f92672">&lt;</span> other.overflowChars;
    }
    
</code></pre></div><h2 id="项目结构规划及实例说明">项目结构规划及实例说明</h2>
<h3 id="项目架构">项目架构</h3>
<blockquote>
<p>经过多个项目实战总结，手机端开发采取MVVM模式开发，通过Provider使得页面UI与数据model和数据操作分离实现。</p>
<p>在我们实际开发中，这套模式涵盖了我们大部分的页面开发需求，有效的做到了代码结藕，同时在测试环节中我们可以快速的定位到我们问题所在，有效的提高了开发效率。</p>
</blockquote>
<p>lib</p>
<p>| __ assets 存放icon、page</p>
<p>| __ api 存放api配置文件夹</p>
<p>| __ config 存放项目基础配置，譬如生产版本、开发版本不同端口域名设置</p>
<p>| __ enums 存放枚举项目文件夹</p>
<p>| __ models 存放model文件，与page文件一一对应存放</p>
<p>| __ providers 存放providerl文件，与page文件一一对应存放</p>
<p>| __ page 存放page页面</p>
<p>|__ components 存放公共页面，本文件夹只存放同级页面公用的page级文件，独属模块公用 页面在自己页面文件夹中新开components文件夹存放</p>
<p>| __ pubs 存放插件文件夹，所有插件原则上需二次改造供业务使用</p>
<p>| __ router 路由文件夹</p>
<p>| __ utils 公共工具文件夹</p>
<p>|__ common 。。。</p>
<p>|__ page</p>
<p>|__ utils</p>
<p>|__ widget</p>
<p><strong>说明</strong>：</p>
<ul>
<li>model、provider、page在文件夹中一一对应。</li>
<li>在一些简单（简单的单页面数据展示：详情页）的页面中，我们可以使用简单的原生开发（setstate），不必拘泥于要用provider而用provider导致页面过重，这样就得不偿失。</li>
<li>在使用本套开发模式时，请深入了解Flutter的渲染机制、state机制、Provider插件的使用及注意事项。</li>
</ul>
<h2 id="插件使用规范">插件使用规范</h2>
<h3 id="一使用规范">一、使用规范</h3>
<p>建议所有的第三方插件都进行二次封装后放入pubs文件夹使用，有利于插件版本升级、更换，符合我们开发原则：“一处处理，多处实现”，降低我们的维护成本和开发成本。</p>
<h3 id="二插件汇总">二、插件汇总</h3>
<h3 id="1--provder数据动态管理插件">1.  Provder：数据动态管理插件</h3>
<blockquote>
<p>熟悉provider是如何调用build方法去通知页面更新，了解context挂载provider实例，如何通过context在element tree中获取到对应的provider实例。</p>
</blockquote>
<h3 id="2--dio网络请求插件">2.  dio：网络请求插件</h3>
<blockquote>
<p>熟悉dio基本配置，拦截网络请求做业务处理</p>
</blockquote>
<h3 id="3--flutter_screenutil屏幕适配">3.  flutter_screenutil：屏幕适配</h3>
<blockquote>
<p>了解屏幕适配的基本原理，如何调用全局context for root</p>
</blockquote>
<h3 id="4--shared_preferences本地持久化">4.  shared_preferences：本地持久化</h3>
<blockquote>
<p>主要应用场景：少量本地化存取，例如：user信息、版信息。大批量、反复调用存取不建议使用。</p>
</blockquote>
<h3 id="5--mqtt_clientmqtt客户端">5.  mqtt_client：mqtt客户端</h3>
<h3 id="6--sqflite数据库">6.  sqflite：数据库</h3>
<blockquote>
<p>主要应用场景：大批量数据本地化存取，例如：搜索历史、聊天历史等。注意使用是表的开关，以释放内存。</p>
</blockquote>
<h3 id="7--device_info设备信息">7.  device_info：设备信息</h3>
<h3 id="8--cached_network_image图片缓存">8.  cached_network_image：图片缓存</h3>
<h3 id="9--cached_video_player视频播放">9.  cached_video_player：视频播放</h3>
<h3 id="10--wechat_assets_picker图片视频选择器">10.  wechat_assets_picker：图片视频选择器</h3>
<blockquote>
<p>仿微信选择图片与视频</p>
</blockquote>
<h3 id="11--path_provider设备路径">11.  path_provider：设备路径</h3>
<blockquote>
<p>注意区分临时文件路径和项目文件路径的区别</p>
</blockquote>
<h3 id="12--permission_handler权限管理">12.  permission_handler：权限管理</h3>
<h3 id="13--isolate线程管理使用">13.  isolate：线程管理使用</h3>
<blockquote>
<p>在大批量调用渲染和网络请求等“高消耗”的操作下，Flutter Ui视图会造成卡顿现象，这时候要开启一个线程去跑这些操作。在使用isolate过程中注意使用完后关闭isolate并释放掉内存，否则会因内存占用大而导致应用奔溃。</p>
</blockquote>
<h3 id="14--flutter_sound音频录取和播放">14.  flutter_sound：音频录取和播放</h3>
        </div>

        
<div class="post-archive">
    <ul class="post-copyright">
        <li><strong>原文作者：</strong><a rel="author" href="https://luckly.work/">luckly</a></li>
        <li style="word-break:break-all"><strong>原文链接：</strong><a href="https://luckly.work/post/Flutter%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99%E6%95%B4%E7%90%863/">https://luckly.work/post/Flutter%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99%E6%95%B4%E7%90%863/</a></li>
        <li><strong>版权声明：</strong>本作品采用<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/">知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议</a>进行许可，非商业转载请注明出处（作者，原文链接），商业转载请联系作者获得授权。</li>
    </ul>
</div>
<br/>



        

<div class="post-archive">
    <h2>See Also</h2>
    <ul class="listing">
        
        <li><a href="/post/Flutter%E7%95%8C%E9%9D%A2%E8%B7%B3%E8%BD%AC%E6%95%B0%E6%8D%AE%E4%BA%A4%E4%BA%92%E7%95%8C%E9%9D%A2%E6%B7%B7%E5%90%88%E5%BC%80%E5%8F%91/">《Flutter界面跳转数据交互界面混合开发》</a></li>
        
        <li><a href="/post/Flutter%E6%B8%B2%E6%9F%93%E5%8E%9F%E7%90%86%E4%B8%8E%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/">《Flutter渲染原理与性能优化》</a></li>
        
        <li><a href="/post/Flutter%E6%B5%8B%E8%AF%95%E8%84%9A%E6%9C%AC%E5%BC%80%E5%8F%91/">《Flutter测试脚本开发》</a></li>
        
        <li><a href="/post/Flutter-Engine%E6%BA%90%E7%A0%81%E8%B0%83%E8%AF%95/">《Flutter Engine源码调试》</a></li>
        
        <li><a href="/post/FutureBuilder%E4%B8%8EStreamBuilder/">《FutureBuilder与StreamBuilder》</a></li>
        
    </ul>
</div>


        <div class="post-meta meta-tags">
            
            没有标签
            
        </div>
    </article>
    
    

    
    
    <div class="post bg-white">
      <script src="https://utteranc.es/client.js"
            repo= "https://github.com/ITmxs/repo"
            issue-term="pathname"
            theme="github-light"
            crossorigin="anonymous"
            async>
      </script>
    </div>
    
</div>

                    <footer id="footer">
    <div>
        &copy; 2021 <a href="https://luckly.work/">早起的年轻人 By luckly</a>
        
        | <a rel="nofollow" target="_blank" href="http://beian.miit.gov.cn/">粤ICP备2021号-1</a>
        
    </div>
    <br />
    <div>
        <div class="github-badge">
            <a href="https://juejin.cn/user/3843548384077192" target="_black" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">掘金</span></a>
        </div>
        <div class="github-badge">
            <a href="https://space.bilibili.com/480883651" target="_black"><span class="badge-subject">Design by</span><span class="badge-value bg-brightgreen">早起的年轻人</span></a>
        </div>
        <div class="github-badge">
            <a href="https://cloud.tencent.com/developer/user/6702670" target="_black"><span class="badge-subject">Theme</span><span class="badge-value bg-yellowgreen">云社区</span></a>
        </div>
    </div>
</footer>


    
    <script type="text/javascript">
        window.MathJax = {
            tex2jax: {
                inlineMath: [['$', '$']],
                processEscapes: true
                }
            };
    </script>
    <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script><script src="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>

<a id="rocket" href="#top"></a>
<script type="text/javascript" src='/js/totop.js?v=0.0.0' async=""></script>



    <script type="text/javascript" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" async></script>




    <script src='/js/douban.js'></script>
    <script src="/js/copy-to-clipboard.js"></script>

                </div>

                <div id="secondary">
    <section class="widget">
        <form id="search" action='https://luckly.work/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
      
      <input type="text" name="q" maxlength="20" placeholder="Search">
      <input type="hidden" name="sitesearch" value="https://luckly.work/">
      <button type="submit" class="submit icon-search"></button>
</form>
    </section>
    
    <section class="widget">
        <h3 class="widget-title">最近文章</h3>
<ul class="widget-list">
    
    <li>
        <a href="https://luckly.work/xxx/xxx.html" title="信息化和信息系统">信息化和信息系统</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/%E4%BD%BF%E7%94%A8flutter%E5%88%9B%E5%BB%BA%E6%B8%85%E5%8D%95/" title="使用flutter创建清单">使用flutter创建清单</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/%E4%BD%BF%E7%94%A8flutter%E5%88%9B%E5%BB%BA%E5%B8%A6%E6%9C%89%E5%8A%A8%E7%94%BB%E7%9A%84%E5%88%9B%E6%84%8F%E6%B8%85%E5%8D%95/" title="使用flutter创建带有动画的创意清单">使用flutter创建带有动画的创意清单</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/%E4%BD%BF%E7%94%A8flutter%E5%88%9B%E5%BB%BA%E6%90%9C%E7%B4%A2%E6%A0%8F/" title="使用flutter创建搜索栏">使用flutter创建搜索栏</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/%E4%BD%BF%E7%94%A8flutter%E5%88%9B%E5%BB%BA%E5%93%8D%E5%BA%94%E5%BC%8F%E4%B8%8B%E6%8B%89%E5%AF%BC%E8%88%AA%E6%A0%8F/" title="使用flutter创建响应式下拉导航栏">使用flutter创建响应式下拉导航栏</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/Flutter%E8%87%AA%E5%AE%9A%E4%B9%89%E5%BC%B9%E5%87%BA%E5%8A%A8%E7%94%BB/" title="Flutter自定义弹出动画">Flutter自定义弹出动画</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/Flutter_WEB/" title="Flutter_WEB">Flutter_WEB</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/Flutter%E7%B3%BB%E5%88%97%E5%88%97%E8%A1%A8%E5%92%8C%E7%BD%91%E6%A0%BC/" title="Flutter系列列表和网格">Flutter系列列表和网格</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/Flutter%E8%A7%86%E8%A7%89%E9%87%8D%E5%8F%A0%E6%8C%87%E5%8D%97paddingviewpadding%E5%92%8Cviewinsets/" title="Flutter视觉重叠指南padding，viewpadding和viewinsets">Flutter视觉重叠指南padding，viewpadding和viewinsets</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/Flutter/Flutter-ListView-%E5%92%8CScrollPhysics%E8%AF%A6%E7%BB%86%E4%BB%8B%E7%BB%8D/" title="Flutter ListView 和ScrollPhysics详细介绍">Flutter ListView 和ScrollPhysics详细介绍</a>
    </li>
    
</ul>
    </section>

    
<section class="widget">
    <h3 class="widget-title" style="color:red">福利派送</h3>
    <ul class="widget-list">
        
        <li>
            <a href="https://blog.csdn.net/qq_39132095?spm=1001.2101.3001.5343" title="我的CSDN" target="_blank" style="color:red">
                
                    <img src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
                
            </a>
        </li>
        
        <li>
            <a href="https://space.bilibili.com/480883651" title="我的哔哩哔哩" target="_blank" style="color:red">
                
                    <img src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
                
            </a>
        </li>
        
        <li>
            <a href="https://www.zhihu.com/people/yimi-yang-guang-96-65" title="我的知乎" target="_blank" style="color:red">
                
                    <img src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
                
            </a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title"><a href='/categories/'>分类</a></h3>
<ul class="widget-list">
    
    <li><a href="https://luckly.work/categories/Go/">Go (1)</a></li>
    
    <li><a href="https://luckly.work/categories/IT/">IT (1)</a></li>
    
    <li><a href="https://luckly.work/categories/Mysql/">Mysql (1)</a></li>
    
    <li><a href="https://luckly.work/categories/Nginx/">Nginx (1)</a></li>
    
    <li><a href="https://luckly.work/categories/YouTube%E8%A7%86%E9%A2%91%E4%B8%8B%E8%BD%BD/">YouTube视频下载 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/android/">android (6)</a></li>
    
    <li><a href="https://luckly.work/categories/dart/">dart (8)</a></li>
    
    <li><a href="https://luckly.work/categories/Flutter/">Flutter (141)</a></li>
    
    <li><a href="https://luckly.work/categories/git/">git (3)</a></li>
    
    <li><a href="https://luckly.work/categories/Go/">Go (4)</a></li>
    
    <li><a href="https://luckly.work/categories/ios/">ios (1)</a></li>
    
    <li><a href="https://luckly.work/categories/linux/">linux (1)</a></li>
    
    <li><a href="https://luckly.work/categories/read/">读书笔记 (6)</a></li>
    
    <li><a href="https://luckly.work/categories/redis/">redis (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99/">个人资料 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%B9%A6%E5%8D%95/">书单 (8)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%B9%A6%E8%AF%84/">书评 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统管理师 (8)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统项目管理师 (16)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%8E%9F%E5%88%99/">原则 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%8E%9F%E7%94%9F%E9%80%9A%E8%AE%AF/">原生通讯 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%9F%BA%E7%A1%80/">基础 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%A4%8D%E5%88%A9%E6%95%88%E5%BA%94/">复利效应 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/">安装教程 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%B0%91%E6%9C%89%E4%BA%BA%E8%B5%B0%E7%9A%84%E8%B7%AF/">少有人走的路 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%BF%83%E8%AF%AD/">心语 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E6%8F%92%E4%BB%B6/">插件 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E6%95%99%E5%AD%A6/">教学 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%8E%8B%E9%98%B3%E6%98%8E/">王阳明 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%94%B5%E5%AD%90%E4%B9%A6/">电子书 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%99%BB%E9%99%86%E8%A1%A8%E5%8D%95/">登陆表单 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%A8%BB%E7%9B%9B%E5%92%8C%E5%A4%AB/">稻盛和夫 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%A9%B7%E7%88%B8%E7%88%B8%E5%AF%8C%E7%88%B8%E7%88%B8/">穷爸爸富爸爸 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%B2%BE%E8%BF%9B/">精进 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%BC%96%E7%A8%8B/">编程 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B4%A2%E5%8A%A1%E8%87%AA%E7%94%B1%E4%B9%8B%E8%B7%AF/">财务自由之路 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B7%91%E6%AD%A5/">跑步 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B7%AF%E7%94%B1%E4%BC%A0%E5%8F%82/">路由传参 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B7%AF%E7%BA%BF/">路线 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%BD%AF%E4%BB%B6%E5%AE%9E%E6%96%BD/">软件实施 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E9%98%B3%E6%98%8E%E5%BF%83%E5%AD%A6/">阳明心学 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E9%A1%B9%E7%9B%AE/">项目 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E9%AD%85%E5%8A%9B/">魅力 (1)</a></li>
    
</ul>
    </section>

    <section class="widget">
        <h3 class="widget-title"><a href='/tags/'>标签</a></h3>
<div class="tagcloud">
    
    <a href="https://luckly.work/tags/go/">go</a>
    
    <a href="https://luckly.work/tags/IT/">IT</a>
    
    <a href="https://luckly.work/tags/Mysql/">Mysql</a>
    
    <a href="https://luckly.work/tags/Nginx/">Nginx</a>
    
    <a href="https://luckly.work/tags/YouTube%E8%A7%86%E9%A2%91%E4%B8%8B%E8%BD%BD/">YouTube视频下载</a>
    
    <a href="https://luckly.work/tags/android/">android</a>
    
    <a href="https://luckly.work/tags/dart/">dart</a>
    
    <a href="https://luckly.work/tags/flutter/">flutter</a>
    
    <a href="https://luckly.work/tags/git/">git</a>
    
    <a href="https://luckly.work/tags/go/">go</a>
    
    <a href="https://luckly.work/tags/ios/">ios</a>
    
    <a href="https://luckly.work/tags/linux/">linux</a>
    
    <a href="https://luckly.work/tags/redis/">redis</a>
    
    <a href="https://luckly.work/tags/%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99/">个人资料</a>
    
    <a href="https://luckly.work/tags/%E4%B9%A6%E5%8D%95/">书单</a>
    
    <a href="https://luckly.work/tags/%E4%B9%A6%E8%AF%84/">书评</a>
    
    <a href="https://luckly.work/tags/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统管理师</a>
    
    <a href="https://luckly.work/tags/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统项目管理师</a>
    
    <a href="https://luckly.work/tags/%E5%85%A5%E9%97%A8/">入门</a>
    
    <a href="https://luckly.work/tags/%E5%8E%9F%E5%88%99/">原则</a>
    
    <a href="https://luckly.work/tags/%E5%8E%9F%E7%94%9F%E9%80%9A%E8%AE%AF/">原生通讯</a>
    
    <a href="https://luckly.work/tags/%E5%9F%BA%E7%A1%80/">基础</a>
    
    <a href="https://luckly.work/tags/%E5%A4%8D%E5%88%A9%E6%95%88%E5%BA%94/">复利效应</a>
    
    <a href="https://luckly.work/tags/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/">安装教程</a>
    
    <a href="https://luckly.work/tags/%E5%B0%91%E6%9C%89%E4%BA%BA%E8%B5%B0%E7%9A%84%E8%B7%AF/">少有人走的路</a>
    
    <a href="https://luckly.work/tags/%E5%BF%83%E8%AF%AD/">心语</a>
    
    <a href="https://luckly.work/tags/%E6%8F%92%E4%BB%B6/">插件</a>
    
    <a href="https://luckly.work/tags/%E6%95%99%E5%AD%A6/">教学</a>
    
    <a href="https://luckly.work/tags/%E7%8E%8B%E9%98%B3%E6%98%8E/">王阳明</a>
    
    <a href="https://luckly.work/tags/%E7%94%B5%E5%AD%90%E4%B9%A6/">电子书</a>
    
    <a href="https://luckly.work/tags/%E7%99%BB%E9%99%86%E8%A1%A8%E5%8D%95/">登陆表单</a>
    
    <a href="https://luckly.work/tags/%E7%A8%BB%E7%9B%9B%E5%92%8C%E5%A4%AB/">稻盛和夫</a>
    
    <a href="https://luckly.work/tags/%E7%A9%B7%E7%88%B8%E7%88%B8%E5%AF%8C%E7%88%B8%E7%88%B8/">穷爸爸富爸爸</a>
    
    <a href="https://luckly.work/tags/%E7%B2%BE%E8%BF%9B/">精进</a>
    
    <a href="https://luckly.work/tags/%E7%BC%96%E7%A8%8B/">编程</a>
    
    <a href="https://luckly.work/tags/%E8%AF%97/">诗</a>
    
    <a href="https://luckly.work/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/">读书笔记</a>
    
    <a href="https://luckly.work/tags/%E8%B4%A2%E5%8A%A1%E8%87%AA%E7%94%B1%E4%B9%8B%E8%B7%AF/">财务自由之路</a>
    
    <a href="https://luckly.work/tags/%E8%B7%91%E6%AD%A5/">跑步</a>
    
    <a href="https://luckly.work/tags/%E8%B7%AF%E7%94%B1%E4%BC%A0%E5%8F%82/">路由传参</a>
    
    <a href="https://luckly.work/tags/%E8%B7%AF%E7%BA%BF/">路线</a>
    
    <a href="https://luckly.work/tags/%E8%BD%AF%E4%BB%B6%E5%AE%9E%E6%96%BD/">软件实施</a>
    
    <a href="https://luckly.work/tags/%E9%80%9A%E8%AE%AF%E5%BD%95/">通讯录</a>
    
    <a href="https://luckly.work/tags/%E9%98%B3%E6%98%8E%E5%BF%83%E5%AD%A6/">阳明心学</a>
    
    <a href="https://luckly.work/tags/%E9%A1%B9%E7%9B%AE/">项目</a>
    
    <a href="https://luckly.work/tags/%E9%AD%85%E5%8A%9B/">魅力</a>
    
</div>
    </section>

    
<section class="widget">
    <h3 class="widget-title">友情链接</h3>
    <ul class="widget-list">
        
        <li>
            <a target="_blank" href="https://www.liwenzhou.com/" title="李文周">李文周的博客</a>
        </li>
        
        <li>
            <a target="_blank" href="http://www.xbzweb.com/" title="小包子的博客">小包子的博客</a>
        </li>
        
        <li>
            <a target="_blank" href="https://www.flysnow.org/" title="飞雪无情的博客">飞雪无情的博客</a>
        </li>
        
        <li>
            <a target="_blank" href="http://yuedu.baidu.com/ebook/14a722970740be1e640e9a3e" title="Android Gradle权威指南">Android Gradle权威指南</a>
        </li>
        
        <li>
            <a target="_blank" href="https://gesdh.cn/" title="小格子">格子导航</a>
        </li>
        
        <li>
            <a target="_blank" href="https://itachi.xyz/" title="阿林">itachi&#39;s Blog</a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title">其它</h3>
        <ul class="widget-list">
            <li><a href="https://luckly.work/index.xml">文章 RSS</a></li>
        </ul>
    </section>
</div>
            </div>
        </div>
    </div>
</body>

</html>